package com.paradogs.framework;

import com.paradogs.framework.annotations.exceptionHandler.ParadogsExceptionHandlerManager;
import com.paradogs.framework.annotations.jprotobuf.JProtobufPrecompileImport;
import com.paradogs.framework.annotations.serverHandler.PRHandlerImport;
import com.paradogs.framework.database.ParadogsDBAsyncThread;
import com.paradogs.framework.server.*;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author: yumi
 * @date: 2023/12/28  10:17
 * @Description: TODO
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Import({
        ParadogsWSServer.class,
        ParadogsGameLogicHandleThread.class,
        ParadogsDBAsyncThread.class,
        BaseGlobalExceptionHandler.class,
        SpringApplicationHook.class,
        ServerScheduled.class,
        ParadogsExceptionHandlerManager.class,

        PRHandlerImport.class,
        JProtobufPrecompileImport.class,

})
public @interface EnableParadogs {
}
